﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<BGCMS.Models.SpecialistViewModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Listi sérfræðinga
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

 <div id="leftside">
        <% Html.RenderPartial("AdminLinks"); %>
    </div>


 <div id = "content">
    <h2>Listi sérfræðinga</h2>
 

    <table>
        <thead>
            <tr>
                <th>Nafn sérfræðings</th>
                <th>Titill</th>
                <th>Menntun</th>
                <th>Vinnustaður</th>
                <th>Símanúmer</th>
            </tr>
        </thead>
        <tbody>
            <% foreach (var s in Model.Specialist)
            { %> 
                <tr>
                    <td><%: s.Name %></td>
                    <td><%: s.Title %></td>
                    <td><%: s.Education %></td>
                    <td><%: s.Workplace %></td>
                    <td><%: s.Phone  %></td>
                </tr>
            <% } %>

        </tbody>
    </table>
    </div>  

</asp:Content>
